package com.gn.compile;

/**
 *　各种符号的编码
 */
public enum Symbol {
	nul, 		//不能识别的符号
	ident, 		//identifier
	number, 	// number，数据类型只有整型
	plus, 		//+
	minus, 		//-
	times, 		//*
	slash,		// /
	percent,    // %
	exclam,     // !
	sqrt,       // sqrt
	pluseql,    // +=
	incinc,     // ++
	minueql,    // -=
	decdec,     // --
	timeseql,   // *=
	slasheql,   // /=
	oddsym, 	// <> #?odd
	eql, 		// =
	neq, 		// #
	lss, 		//<
	leq, 		//<=
	gtr, 		//>
	geq, 		//>=
	becomes, 	// :=
	lparen, 	//(
	rparen,		//)
	comma, 		// ,
	semicolon, 	// ;
	period, 	// .
	colon,      // :
	beginsym, 	//begin
	endsym, 	//end
	ifsym, 		//if
	thensym, 	//then
	whilesym, 	//while
	writesym,	//write
	readsym, 	//read
	dosym, 		//do
	callsym, 	//call
	constsym, 	//const
	varsym, 	//var
	procsym,    //procedure
	elsesym,    //else
	repeat,     //repeat
	until,      //until
	forsym,      //for
	tosym        //to
}